package com.hunttown.mes.rpc.api;

import com.hunttown.common.domain.Page;
import com.hunttown.mes.rpc.domain.WorkflowBusinessUserRelDTO;
import com.hunttown.mes.rpc.domain.query.WorkflowBusinessUserRelDTOQuery;

/**
 * created by wangjunfu on 2020-12-08 10:50:35
 */
public interface WorkflowBusinessUserRelRpcService {

    WorkflowBusinessUserRelDTO insert(WorkflowBusinessUserRelDTO workflowBusinessUserRelDTO);

    Boolean updateInfoById(WorkflowBusinessUserRelDTO workflowBusinessUserRelDTO);

    Boolean updateInfoByQuery(WorkflowBusinessUserRelDTOQuery workflowBusinessUserRelDTOQuery);

    WorkflowBusinessUserRelDTO selectById(Integer id);

    WorkflowBusinessUserRelDTO selectObjByQuery(WorkflowBusinessUserRelDTOQuery workflowBusinessUserRelDTOQuery);

    Page<WorkflowBusinessUserRelDTO> getListForPage(WorkflowBusinessUserRelDTOQuery workflowBusinessUserRelDTOQuery);

    Boolean deleteById(Integer id);
}